<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'createBook.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="css/style_right.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="js/upload.js"></script>

  </head>
  
  <body>
  
  <div class="right">
    	<div class="userL">
    <li class="e1"><p>创建新的手册</p></li>
    </div>
    <div class="tBox">
        	<div class="tj_box">
            	<div><img src="images/ht2-3_03.gif" width="666" height="47" /></div>
   	  	  		<div class="_box">
    <form action="<%=basePath %>books/books_saveBook" enctype="multipart/form-data"  method="post" target="_self">
    	<input name="handBook.userId"  value="${user.id}"  type="hidden">
    	<input name="user.userName" value="${user.userName}" type="hidden">	
    	<input name="user.company" value="${user.company}" type="hidden">	
    	<input name="handBook.id" value="${handBook.id}" type="hidden">
    	
		    <ul>
              			<li><p>手册名称：</p><input type="test" name="handBook.name"></li>
            </ul>
                        
		    <ul>
                    	<li><p>作者名称：</p><input type="test" name="handBook.author"></li>
             </ul>
             
		      <ul>
                    	<li><p>手册图标：</p> <input type="file" name="upload"  onChange="c(this)" /></li>
              </ul>
              
              <div class="end">
              	<img src="images/ht2-3_07.gif" width="16" height="16" /> <input type="submit" value="创建">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <img src="images/ht2-3_09.gif" width="16" height="16" /> <a href="<%=basePath %>books/books_bookList?handBook.userId=${user.id}">返回列表</a></div>
              
		   
		    
    </form>
    </div>
            </div>
        	
	  </div>
</div>
  </body>
</html>
